package org.jeecg.modules.friends.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.friends.condition.TicketRecordCondition;
import org.jeecg.modules.friends.model.TicketRecordDO;

public interface TicketRecordDOMapper {
    long countByCondition(TicketRecordCondition condition);

    int deleteByCondition(TicketRecordCondition condition);

    int deleteByPrimaryKey(Long id);

    int insert(TicketRecordDO record);

    int insertSelective(TicketRecordDO record);

    List<TicketRecordDO> selectByCondition(TicketRecordCondition condition);

    TicketRecordDO selectByPrimaryKey(Long id);

    int updateByConditionSelective(@Param("record") TicketRecordDO record, @Param("condition") TicketRecordCondition condition);

    int updateByCondition(@Param("record") TicketRecordDO record, @Param("condition") TicketRecordCondition condition);

    int updateByPrimaryKeySelective(TicketRecordDO record);

    int updateByPrimaryKey(TicketRecordDO record);
}